package org.whatever.aha.zjut.platform.dto.project;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author Vc
 * @version 1.0
 * @Desc
 * @date 2021/09/17 1:17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProjectMemberDto {
    /**
     * 成员id
     */
    @NotNull(message = "成员id不能为空")
    int memberId;
    /**
     * 项目成员排位
     */
    @NotNull(message = "项目成员排位不能为空")
    @Min(2)
    int projectMemberRank;
    /**
     * 项目成员职责
     */
    String projectMemberJob;
}
